

if __name__ == '__main__':
    dict = {1:3,2:5}
    for title_key, value in dict.items():
        categories = []
        for i in range(int(value)):
            categories.append(i + 1)
        print(categories)